// @import '//at.alicdn.com/t/font_2689451_zgtnxbptro.css';
@import 'color.less';

html.is-rtl * {
  direction: rtl;
}
body {
  background-color: transparent;
  height: 100%;
}
html,
#app {
  height: 100%;
}

ul {
  padding: 0;
  margin: 0;
  li {
    list-style-type: none;
  }
}

/*全局滚动条样式*/
::-webkit-scrollbar {
  //滚动条的宽度,高度
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  border-radius: 14px;
  box-shadow: inset 0 0 5px #b6b6b6;
  background: #b6b6b6;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #b6b6b6;
  border-radius: 0;
  background: none;
}
//覆盖ant-design 样式

/**表格样式*/
.ant-table-thead > tr > th {
  color: @title1;
  font-weight: 600;
  background-color: @bgColor1;
  border-bottom: 1px solid @borderColor;
}

.ant-table-tbody {
  color: @text3;
}
.ant-table-body {
  margin: 0px !important;
  .anticon {
    font-size: 16px;
  }
}
.ant-table-scroll {
  > div {
    overflow-x: auto !important;
  }
}
.ant-table-bordered .ant-table-thead > tr > th,
.ant-table-bordered .ant-table-tbody > tr > td {
  padding: 12px 16px !important;
  font-size: 14px;
  background-color: @bgColor2;
  border-bottom: 1px solid @borderColor2;
  border-right: none;
}
.ant-table-bordered .ant-table-tbody > tr > td {
  background-color: white;
}
.ant-table-bordered .ant-table-thead > tr > th {
  border-top: 1px solid @borderColor2;
}
.ant-table-tbody > tr {
  border-bottom: 1px solid @borderColor2;
}
.ant-table-bordered .ant-table-body > table {
  border: none !important;
}

/*按钮样式中等按钮  大按钮  小按钮 高度分别是30  36   24*/
.ant-btn {
  //按钮间距设置为12px
  height: 32px;
  padding: 0 12px;
  // border-color: @border;
}
.ant-btn-lg {
  //按钮间距设置为16px
  height: 36px;
}
.ant-btn-sm {
  //按钮间距设置为12px
  height: 24px;
}

//intro 样式修改
.introjs-prevbutton {
  display: none;
}
.introjs-skipbutton {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 14px;
}
.introjs-helperLayer {
  box-shadow: #2b6afd 0px 0px 1px 2px, #21212180 0px 0px 0px 5000px !important;
}
.introjs-button {
  outline: 0;
  text-decoration: none;
  border-color: #0d55fd !important;
  background-color: #0d55fd !important;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  text-shadow: initial;
  &:hover {
    border-color: #0d55fd !important;
    background-color: #0d55fd !important;
    color: #fff !important;
  }
}
.introjs-tooltipbuttons {
  border: none;
}
.introjs-help-center {
  max-width: 640px !important;
  .introjs-skipbutton {
    display: none;
  }
}

//受邀托管项目不支持提示
.shareModeUnable {
  position: relative;
  cursor: not-allowed;
  // pointer-events: none;
  &:hover::after {
    content: attr(data-unablehint);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    min-width: 140px;
    max-width: 250px;
    color: #fff;
    white-space: pre;
    display: inline-block;
    word-break: break-all;
    word-wrap: break-word;
    z-index: 100;
  }
  &:hover::before {
    content: '';
    width: 4px;
    height: 4px;
    top: 0;
    transform: translate(-50%, -1px);
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.5);
  }
}

.panel-head {
  padding: 16px 16px 0 16px;
  display: flex;
  justify-content: space-between;
  .panel-title {
    display: inline-block;
    border-left: 3px solid @mainColor;
    padding-left: 12px;
    line-height: 18px;
    font-size: 16px;
    color: @text3;
  }
}

.panel-table {
  padding: 0 16px 16px 16px;
  /deep/ .ant-table-thead > tr > th {
    padding: 5px 16px;
  }
  /deep/ .ant-table-tbody > tr > td {
    padding: 5px 16px;
  }
}

.load-wrapper {
  flex: 1;
  width: 100%;
  height: 720px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ant-btn > .anticon + span,
.ant-btn > span + .anticon {
  margin-left: 4px;
}

.private-common-wrapper {
  padding: 16px;
  height: 100%;
  overflow-y: auto;
  .layout-panel-head {
    &::before {
      display: none;
    }
    font-size: 16px;
    .title-txt {
      font-size: 14px;
    }
  }
  .title {
    display: flex;
    justify-content: space-between;
  }
}

// 固定列不需要头部
.ant-table-bordered .ant-table-fixed-right table {
  border-top: 0;
}

.ant-form-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}
.ant-form-item-label > label.ant-form-item-no-colon::after {
  content: '';
  margin-right: 0;
}
